/**
 * Created by wang on 2018/10/23
*/
export default {
    eventtodo   : ({commit}, param) => commit('EVENTTODO', {id: param}),
    eventdone   : ({commit}, param) => commit('EVENTDONE', {id: param}),
    eventcancel : ({commit}, param) => commit('EVENTCANCEL', {id: param}),

    addevent    : ({commit}, param) => commit('ADDEVENT', {items: param}), 
    delevent    : ({commit}, param) => commit('DELEVENT', param),
    editevent   : ({commit}, param) => commit('EDITEVENT', param),
    uploadevent : ({commit}, param) => commit('UPLOADEVENT', param),
    clearevent  : ({commit})        => commit('CLEAREVENT')
}
